#include <stdint.h>

//struct for communicationg
typedef struct node_ca_oppoparams
{
	uint8_t oppoip[32];
	uint8_t oppoid[8];
}ca_oppo;

typedef struct node_ca_selfparams
{
	uint8_t selfip[32];
	uint8_t selfid[8];
}ca_self;

typedef struct  center_ca_params
{	//get from node
	uint8_t nodeID[8];
	uint8_t enkid[112];
	//send to node
	uint8_t enpkey[128];
}center_ca_params;

typedef struct past_time
{
	int year;
	int month;
	int day;
}past_tm;